package cn.xspace.module.other.http.resp;

import com.xspace.android.xafcommon.been.UserInfoBean;
import com.xspace.android.xafcommon.util.LogUtils;

import cn.xspace.module.other.bean.OtherJsonReturnBean;
import cn.xspace.module.other.http.ResponseMsg;

/**
 * 
 * @ClassName: QueryUserInfoResp
 * @author:mawen
 * @Date：2014-3-3
 * @version V1.0.0
 * @Description: TODO
 */
public class ModifyUserInfoResp extends ResponseMsg {
	public static final int QUERY_USERINFO_ERROR = -1;
	public static final int QUERY_USERINFO_SUCCESS = 0;
	public UserInfoBean userInfoBean;


	@Override
	protected void parseJson(String jsonData) throws Exception {
		LogUtils.i("QueryUserInfo==>" + jsonData);
		OtherJsonReturnBean mGsonBean = new OtherJsonReturnBean();
		mGsonBean = mGson.fromJson(jsonData, OtherJsonReturnBean.class);
		userInfoBean = mGsonBean.user;
	}
}
